package com.czh.codesandbox.docker;

import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.command.PingCmd;
import com.github.dockerjava.core.DockerClientBuilder;




/*
 * ClassName: DockrTest
 * Package: com.czh.codesandbox.docker
 * Description:
 * @Author: CZH
 * @Create: 2025
 */
public class DockerTest {
    public static void main(String[] args) {
        DockerClient dockerClient = DockerClientBuilder.getInstance().build();
        PingCmd pingCmd = dockerClient.pingCmd();
        pingCmd.exec();
    }
}
